/*
package org.itboys.core.service.mongo.front;

import org.itboys.core.entity.mongo.SundayFeedback;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
*/
/**
 * Auther: 罗尧坤
 * Date: 2018/8/1
 * Description: 我的反馈服务类
 *//*

@Service
public class SundayFrontFeedbackService extends BaseMongoService<SundayFeedback> {
    @Resource(name = "mobileDs")
    private MongoDataSource sundayDataSource;

    @Override
    protected MongoDataSource getMongoDataSource() {
        return sundayDataSource;
    }

    @Override
    protected Class<SundayFeedback> getEntityClass() {
        return SundayFeedback.class;
    }

    */
/*
    后续可能用到
    @Autowired
    private SystemDictionaryService dictionaryService;*//*


    */
/**
     * 保存用户反馈信息
     * @param memberId
     * @param memberName
     * @param advice
     * @param tags
     *//*

    public void save(
            Long       memberId,
            String     memberName,
            String     advice,
            String     tags

    ){
        */
/*
        看有没必要输入详细意见
        if (StringUtils.isEmpty(advice)) {
            throw new ErrorException("请输入意见");
        }*//*

        SundayFeedback feedback = new SundayFeedback(
                memberId,
                memberName,
                advice,
                tags
        );
        feedback.setStatus(0);
        feedback.setIsAnswerd(0);
        super.save(feedback);
    }

}
*/
